package com.xw.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @Description: 用户令牌实体类
 * @Author: ASUS
 * @Date: 2024/12/19 9:17
 * @Version: 1.0
 */

@Data
public class UserToken {
    @ApiModelProperty(value = "主键ID")
    private Integer id;
    @ApiModelProperty(value = "用户令牌")
    private String token;
    @ApiModelProperty(value = "用户ID")
    private Integer userId;
    @ApiModelProperty(value = "过期时间")
    private Integer overdue;
    @ApiModelProperty(value = "令牌创建时间")
    private Date createTime;
}
